package echecs.tools;

public enum PieceType {

    BISHOP("B", 3),
    KING("K", 6),
    KNIGHT("N", 2),
    PAWN("", 1),
    QUEEN("Q", 5),
    ROOK("R", 4);
    private final String _fenNotation;
    private final int _code;

    PieceType(final String pLettre, final int pCode) {
        _fenNotation = pLettre;
        _code = pCode;

    }

    public int getCode() {
        return _code;
    }

    public String getSANLetter() {
        return _fenNotation;
    }
}
